#ifndef CONFIG_H
#define CONFIG_H

#include <deque>
#include <vector>

void load_config(const char *config_path);

void generate_output_path(const char *filename, char *filepath);

//Concentration iterator variables.
extern double c_start, c_end, c_step;
extern double s_start, s_end, s_step;
extern bool c_log, s_log;

//Switches.
extern bool dump_ne_nf, dump_nef, dump_ec;
extern bool dump_single_ne_nf, dump_single_nef, dump_single_ec;

//EC export variables.
extern std::vector<double> ec_list;
extern double ec_epsinon;
extern char output_dir[256];
extern char pki_file_path[256];
extern char network_file_path[256];

//Network constant.
#define EV_CONNECT      (1.0)
#define EV_MAX_RESIST   (200.0)
#define EV_INFINITY     (1073741824.0)

#endif // CONFIG_H
